import { httpUrl } from 'api/config'
import { ajax } from 'api/axios'

export const saveData = (data) => {
  const url = `${httpUrl}/admin/home/checkOut`

  return ajax(url, data)
}

export const getHasRentHouse = () => {
  const url = `${httpUrl}/admin/home/hasRentHome`

  return ajax(url)
}
